<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>

<body>
<form action="http://localhost:8080/calc/num">
    <div style="margin-top: 100px;text-align: center;">
    <h1>计算器</h1>
    数字1: <input type="text" name="num1"><br>
    数字2: <input type="text" name="num2"><br>
    <input value="提交" type="submit">
    </div>
</form>
</body>

</html>